package com.shop.cereshop.app.domain.buyer;

import com.shop.cereshop.app.annotation.KeepLongAsNumber;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @description: 用户搜索记录
 * @author zdd
 * @date 2025/10/21 17:44
 * @version 1.0
 */
@ApiModel(value = "BuyerSearchVO", description = "用户搜索记录")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BuyerSearchVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "搜索记录ID")
    @KeepLongAsNumber
    private Long searchId;

    @ApiModelProperty(value = "搜索内容")
    private String search;

    @ApiModelProperty(value = "搜索类型（1-商品,2-店铺,3-购物车）")
    private Integer searchType;

}
